package com.frame.demo.app;

import android.support.annotation.DrawableRes;
import android.support.annotation.IdRes;
import android.support.annotation.Nullable;
import android.view.ViewGroup;

import com.frame.demo.rest.RestError;

/**
 * @author yuefeng
 * @version 3.4.3
 * @desc 和fragment的一些共用处理
 * @date 16/3/15
 */
public interface ActivityHelper {

    void showErrorView(@Nullable String pErrorMes, @DrawableRes int pErrorIconRes);

    void showErrorView(RestError pErrorMes);

    void showInPageProgressView();

    void commonExceptionDispose(RestError pRestError);

    void showContent();

    void showErrorView(ViewGroup pViewGroupParent, String pErrorMes, @IdRes int pErrorIconRes);


}
